import type { ActionButton } from '@/components/table/src/types/action-button';

export type ToolbarActionButtons = ActionButton[]
  | ((defaultButtons: {
    createButton: ActionButton;
    batchDeleteButton: ActionButton;
  }) => ActionButton[]);

export type DataActionButtons = ActionButton[]
  | ((defaultButtons: {
    modifyButton: ActionButton;
    deleteButton: ActionButton;
  }) => ActionButton[]);
